package com.rent.message;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication(scanBasePackages = "com.rent")
@MapperScan("com.rent.message.mapper")
@EnableScheduling
@EnableRabbit
public class MessageApplication {
    public static void main(String[] args) {
        SpringApplication.run(MessageApplication.class, args);
        System.out.println("====================================");
        System.out.println("信息推送模块启动成功！");
        System.out.println("====================================");
    }
}
